public class test01 {
    ApplicationContext applicationContext=new ClassPathXmlApplicationContest("applicationContest.xml");
    @Test
    void test01(){
        com.example.homework.student student=(com.example.homework.student) applicationContext.getBean("student");
        System.out.println(student);
    }


}
